package com.atguigu.yygh.order.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2023/1/6 - 15:57
 * @Author: Hyoung
 * @Description:
 */

@Configuration
@ConfigurationProperties(prefix = "wx.pay") //读取节点
@Data //使用set方法将wx.ope节点中的值填充到当前类的属性中
public class ConstantProperties {

    private String appId;
    private String partner;
    private String partnerKey;
    private String notifyUrl;
    private String cert;
}